package com.sias.Loli.util;

import com.sias.Loli.type.RCodeType;
import com.sias.Loli.vo.R;

public class Rutil {
    public static R ok(){
        R r=new R();
        r.setCode(RCodeType.成功.getCode());
        r.setMsg("OK");
        return r;
    }
    public static R fail(){
        R r=new R();
        r.setCode(RCodeType.失败.getCode());
        r.setMsg("FAIL");
        return r;
    }
}
